﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="ReservoirManger.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>  
    <form id="form1" runat="server">
        <div>
            姓名：<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="姓名不能为空" ForeColor="Red" ControlToValidate="txtName"></asp:RequiredFieldValidator><br />
            密码：<asp:TextBox ID="txtPwd" runat="server" TextMode="Password"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="密码不能为空" ForeColor="Red" ControlToValidate="txtPwd"></asp:RequiredFieldValidator><br />
            验证码：<asp:TextBox ID="txtCaptcha" runat="server"></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="验证码不能为空" ForeColor="Red" ControlToValidate="txtCaptcha"></asp:RequiredFieldValidator>
            <asp:Image ID="Image1" runat="server" ImageUrl="~/Captcha.aspx" onclick="this.src=this.src+'?temp='+ Math.random();"/><br />                      
            <asp:Button ID="btnLogin" runat="server" Text="登录" OnClick="btnLogin_Click" />
        </div>
    </form>
</body>
</html>
